package com.bwie.goods.service;

import com.bwie.common.domain.Vehicle;
import com.bwie.common.result.Result;
import org.bouncycastle.jcajce.provider.asymmetric.X509;

import java.util.List;

public interface VehicleService {
    Result<List<Vehicle>> list();

    Result vehicleAdd(Vehicle vehicle);

    Result del(Integer id);

    Result<Vehicle> update(Integer id);
}
